module.exports = {
    lintOnSave: false,
    css: {
        loaderOptions: {
            less: {
                javascriptEnabled: true
            }
        }
    },
    devServer: {
        port: 8099, // 端口号
        host: '127.0.0.1',
        disableHostCheck: true,
        https: false, // https:{type:Boolean}
        open: true, //配置自动启动浏览器
        // proxy: 'http://localhost:4000' // 配置跨域处理,只有一个代理
        proxy: {
            '/htk-admin': {
                target: 'http://101.37.164.204:9000/',
                ws: true,
                changeOrigin: true
            },
            '/htk': {
                target: 'http://101.37.164.204:9002/',
                ws: true,
                changeOrigin: true
            }
        }
    }
}